package com.ruoyi.distrack.service;


import com.ruoyi.distrack.domin.dto.DisTrackQueryDTO;
import com.ruoyi.distrack.domin.entity.DisTrack;

import java.util.List;

/**
 * distrackService接口
 *
 * @author Larry
 * @date 2024-04-02
 */
public interface DisTrackService
{
    /**
     * 查询distrack
     *
     * @param id distrack主键
     * @return distrack
     */
    DisTrack selectDisTrackById(Integer id);

    /**
     * 查询distrack列表
     *
     * @param disTrack distrack
     * @return distrack集合
     */
    List<DisTrack> selectDisTrackList(DisTrack disTrack);

    /**
     * 新增distrack
     *
     * @param disTrack distrack
     * @return 结果
     */
    void insertDisTrack(DisTrack disTrack);

    /**
     * 修改distrack
     *
     * @param disTrack distrack
     * @return 结果
     */
    void updateDisTrack(DisTrack disTrack);

    /**
     * 批量删除distrack
     *
     * @param ids 需要删除的distrack主键集合
     * @return 结果
     */
    void deleteDisTrackByIds(Integer[] ids);

    /**
     * 删除distrack信息
     *
     * @param id distrack主键
     * @return 结果
     */
    void deleteDisTrackById(Integer id);

    List<DisTrack> proList(DisTrack disTrack);
}
